package com.lsl.endworkvol.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class WelcomeIndexController {

    @RequestMapping(path = "/admin/welcome", method = RequestMethod.GET)
    public String welcomeAdmin(){
        return "admin/welcome";
    }

    @RequestMapping(path = "/volunteer/welcome", method = RequestMethod.GET)
    public String welcomeVolunteer(){
        return "volunteer/welcome";
    }

    @RequestMapping(path = "/leader/welcome", method = RequestMethod.GET)
    public String welcomeLeader(){
        return "leader/welcome";
    }

}

